home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 February
/
Gamestar_59_2004-02_dvd.iso
/
Dema
/
brokenswordtsd_demo.exe
/
Broken Sword
/
data.pak
/
Unnamed File 000803.unknown
< prev
next >
Wrap
Text File
|
2003-11-06
|
14KB
|
948 lines
// This file controls the graphical effects (e.g. swirling background) used in the game menus
// There are three basic block types used in the file
// The blocks named gui_xxx list the textures, rectangles, and effects to be used
// The rectangle_xxx blocks describe each individual rectangle. Rectangles can have textures
// and are changed by effects
// The effect_xxx blocks describe individual graphical effects (e.g. scaling) and can be applied
// one or more rectangles.
// The system is a little hard to modify by hand, and really needs an editor
{gui_background}
S: texture_path = "data/global/ui/"
S[14]: textures
[0] = "background"
[1] = "backgroundscrolling"
[2] = "backgroundscrolling2"
[3] = "elementpsi"
[4] = "elementpowerroomsymbol"
[5] = "elementtablet"
[6] = "scrollingtext1"
[7] = "verttext1"
[8] = "verttext2"
[9] = "verttext3"
[10] = "hortext1"
[11] = "hortext2"
[12] = "hortext3"
[13] = "hortext4"
S[14]: rectangles
[0] = "background"
[1] = "background_scrolling"
[2] = "background_scrolling_2"
[3] = "psi"
[4] = "power_room_symbol"
[5] = "tablet"
[6] = "text1"
[7] = "vert_text1"
[8] = "vert_text2"
[9] = "vert_text3"
[10] = "hortext1"
[11] = "hortext2"
[12] = "hortext3"
[13] = "hortext4"
S[19]: effects
[0] = "centre_rotation_cw_slow"
[1] = "centre_rotation_cw_med"
[2] = "centre_rotation_cw_fast"
[3] = "centre_rotation_ccw_med"
[4] = "horizontal_translator_1"
[5] = "vertical_translator_1"
[6] = "vertical_translator_2"
[7] = "vertical_translator_3"
[8] = "scaler_1"
[9] = "scaler_2"
[10] = "fader_1"
[11] = "fader_2"
[12] = "power_room_spline"
[13] = "psi_spline"
[14] = "tablet_spline"
[15] = "hortext1"
[16] = "hortext2"
[17] = "hortext3"
[18] = "hortext4"
//[19] = "background_spline"
{\gui_background}
{rectangle_hortext1}
F: width = 58.0
F: height = 82.0
F: alpha = 0.7
S: texture = "hortext1"
S[1]: effects
[0] = "hortext1"
{\rectangle_hortext1}
{effect_hortext1}
S: type = "linear_translator"
F: time = 60.0
F: advance = 20.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = -60.0
[1] = 406.0
F[2]: stop_at
[0] = 640.0
[1] = 406.0
{\effect_hortext1}
{rectangle_hortext2}
F: width = 266.0
F: height = 43.0
F: alpha = 0.7
S: texture = "hortext2"
S[1]: effects
[0] = "hortext2"
{\rectangle_hortext2}
{effect_hortext2}
S: type = "linear_translator"
F: time = 40.0
F: advance = 30.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = -270.0
[1] = 429.0
F[2]: stop_at
[0] = 640.0
[1] = 429.0
{\effect_hortext2}
{rectangle_hortext3}
F: width = 140.0
F: height = 23.0
F: alpha = 0.7
S: texture = "hortext3"
S[1]: effects
[0] = "hortext3"
{\rectangle_hortext3}
{effect_hortext3}
S: type = "linear_translator"
F: time = 20.0
F: advance = 5.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = -150.0
[1] = 431.0
F[2]: stop_at
[0] = 640.0
[1] = 431.0
{\effect_hortext3}
{rectangle_hortext4}
F: width = 334.0
F: height = 54.0
F: alpha = 0.7
S: texture = "hortext4"
S[1]: effects
[0] = "hortext4"
{\rectangle_hortext4}
{effect_hortext4}
S: type = "linear_translator"
F: time = 30.0
F: advance = 4.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = -350.0
[1] = 426.0
F[2]: stop_at
[0] = 640.0
[1] = 426.0
{\effect_hortext4}
{rectangle_background}
F: x = 0.0
F: y = 0.0
F: width = 640.0
F: height = 512.0
S: texture = "background"
{\rectangle_background}
{rectangle_background_scrolling}
F: x = 0.0
F: y = 0.0
F: width = 640.0
F: height = 512.0
S: texture = "backgroundscrolling"
F: alpha = 0.5
S[1]: effects
[0] = "centre_rotation_cw_slow"
{\rectangle_background_scrolling}
{rectangle_background_scrolling_2}
B: centre = TRUE
F: width = 1280.0
F: height = 1024.0
S: texture = "backgroundscrolling2"
F: alpha = 0.2
S[1]: effects
[0] = "centre_rotation_ccw_med"
//[1] = "background_spline"
{\rectangle_background_scrolling_2}
{rectangle_psi}
F: x = 88.0
F: y = 88.0
B: centre = TRUE
F: width = 144.0
F: height = 149.0
S: texture = "elementpsi"
S[4]: effects
[0] = "centre_rotation_cw_slow"
[1] = "fader_1"
[2] = "fader_2"
[3] = "psi_spline"
{\rectangle_psi}
{rectangle_power_room_symbol}
F: x = 486.0
F: y = 422.0
B: centre = TRUE
F: width = 196.0
F: height = 190.0
S: texture = "elementpowerroomsymbol"
F: texture_scale = 0.9
F: alpha = 0.5
S[4]: effects
[0] = "centre_rotation_cw_slow"
[1] = "power_room_spline"
[2] = "scaler_1"
[3] = "scaler_2"
{\rectangle_power_room_symbol}
{rectangle_tablet}
//F: x = 282.0
//F: y = 421.0
//B: centre = false
F: width = 534.0
F: height = 466.0
S: texture = "elementtablet"
F: alpha = 0.08
S[2]: effects
[0] = "centre_rotation_cw_slow"
[1] = "tablet_spline"
{\rectangle_tablet}
{rectangle_text1}
F: width = 612.0
F: height = 52.0
S: texture = "scrollingtext1"
F: alpha = 0.0
S[1]: effects
[0] = "horizontal_translator_1"
{\rectangle_text1}
{rectangle_vert_text1}
//F: x = 77.0
//F: y = 322.0
//B: centre = TRUE
F: width = 14.0
F: height = 314.0
S: texture = "verttext1"
S[1]: effects
[0] = "vertical_translator_1"
{\rectangle_vert_text1}
{rectangle_vert_text2}
//F: x = 63.0
//F: y = 322.0
//B: centre = TRUE
F: width = 21.0
F: height = 244.0
S: texture = "verttext2"
S[1]: effects
[0] = "vertical_translator_2"
{\rectangle_vert_text2}
{rectangle_vert_text3}
//F: x = 90.0
//F: y = 125.0
//B: centre = TRUE
F: width = 12.0
F: height = 29.0
S: texture = "verttext3"
S[1]: effects
[0] = "vertical_translator_3"
{\rectangle_vert_text3}
{effect_centre_rotation_cw_slow}
S: type = "texture_rotator"
F: time = 50.0
B: repeat = TRUE
B: start = TRUE
F: angle = 360.0
{\effect_centre_rotation_cw_slow}
{effect_centre_rotation_cw_med}
S: type = "texture_rotator"
F: time = 20.0
B: repeat = TRUE
B: start = TRUE
F: angle = 360.0
{\effect_centre_rotation_cw_med}
{effect_centre_rotation_cw_fast}
S: type = "texture_rotator"
F: time = 10.0
B: repeat = TRUE
B: start = TRUE
F: angle = 360.0
{\effect_centre_rotation_cw_fast}
{effect_centre_rotation_ccw_med}
S: type = "texture_rotator"
F: time = 100.0
B: repeat = TRUE
B: start = TRUE
F: angle = -360.0
{\effect_centre_rotation_ccw_med}
{effect_horizontal_translator_1}
S: type = "linear_translator"
F: time = 10.0
F: advance = 5.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = -612.0
[1] = 395.0
F[2]: stop_at
[0] = 640.0
[1] = 395.0
{\effect_horizontal_translator_1}
{effect_vertical_translator_1}
S: type = "linear_translator"
F: time = 25.0
F: advance = 2.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = 70.0
[1] = 826.0
F[2]: stop_at
[0] = 70.0
[1] = -312.0
{\effect_vertical_translator_1}
{effect_vertical_translator_2}
S: type = "linear_translator"
F: time = 15.0
F: advance = 10.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = 52.0
[1] = 680.0
F[2]: stop_at
[0] = 52.0
[1] = -244.0
{\effect_vertical_translator_2}
{effect_vertical_translator_3}
S: type = "linear_translator"
F: time = 6.0
F: advance = 2.0
B: repeat = TRUE
B: start = TRUE
F[2]: start_at
[0] = 84.0
[1] = 550.0
F[2]: stop_at
[0] = 84.0
[1] = -40.0
{\effect_vertical_translator_3}
{effect_scaler_1}
S: type = "linear_scaler"
F: time = 10.0
B: start = TRUE
F[2]: start_at
[0] = 1.0
[1] = 1.0
F[2]: stop_at
[0] = 2.5
[1] = 2.5
S[1]: next
[0] = "scaler_2"
{\effect_scaler_1}
{effect_scaler_2}
S: type = "linear_scaler"
F: time = 10.0
F[2]: start_at
[0] = 2.5
[1] = 2.5
F[2]: stop_at
[0] = 1.0
[1] = 1.0
S[1]: next
[0] = "scaler_1"
{\effect_scaler_2}
{effect_fader_1}
S: type = "linear_fader"
F: time = 10.0
F: advance = 5.0
B: start = TRUE
I[4]: start_at
[0] = 255
[1] = 255
[2] = 255
[3] = 0
I[4]: stop_at
[0] = 255
[1] = 255
[2] = 255
[3] = 255
S[1]: next
[0] = "fader_2"
{\effect_fader_1}
{effect_fader_2}
S: type = "linear_fader"
F: time = 10.0
I[4]: start_at
[0] = 255
[1] = 255
[2] = 255
[3] = 255
I[4]: stop_at
[0] = 255
[1] = 255
[2] = 255
[3] = 0
S[1]: next
[0] = "fader_1"
{\effect_fader_2}
{effect_power_room_spline}
S: type = "spline_translator"
F: time = 30.0
B: repeat = TRUE
B: start = TRUE
I: knots = 6
F[6]: x
[0] = 311.0
[1] = 545.0
[2] = 420.0
[3] = 325.0
[4] = 605.0
[5] = 568.0
F[6]: y
[0] = -340.0
[1] = 22.0
[2] = 118.0
[3] = 300.0
[4] = 475.0
[5] = 715.0
{\effect_power_room_spline}
{effect_psi_spline}
S: type = "spline_translator"
F: time = 20.0
B: repeat = TRUE
B: start = TRUE
I: knots = 6
F[6]: x
[0] = -90.0
[1] = 44.0
[2] = 160.0
[3] = 288.0
[4] = 144.0
[5] = 245.0
F[6]: y
[0] = -185.0
[1] = 142.0
[2] = 168.0
[3] = 268.0
[4] = 476.0
[5] = 634.0
{\effect_psi_spline}
{effect_tablet_spline}
S: type = "spline_translator"
F: time = 90.0
B: repeat = TRUE
B: start = TRUE
I: knots = 6
F[6]: x
[0] = -90.0
[1] = 260.0
[2] = 265.0
[3] = 350.0
[4] = 575.0
[5] = 720.0
F[6]: y
[0] = 400.0
[1] = 395.0
[2] = 275.0
[3] = 138.0
[4] = 245.0
[5] = 120.0
{\effect_tablet_spline}
/*
{effect_background_spline}
S: type = "spline_translator"
F: time = 100.0
B: repeat = TRUE
B: start = TRUE
I: knots = 6
F[6]: x
[0] = 273.0
[1] = -50.0
[2] = 266.0
[3] = 650.0
[4] = 393.0
[5] = 273.0
F[6]: y
[0] = 100.0
[1] = 270.0
[2] = 430.0
[3] = 195.0
[4] = 117.0
[5] = 100.0
{\effect_background_spline}
*/
{gui_start_page_english}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_english"
S[1]: rectangles
[0] = "logo_english"
{\gui_start_page_english}
{rectangle_logo_english}
F: x = 172.0
F: y = 46.0
F: width = 309.0
F: height = 290.0
F: alpha = 1.0
S: texture = "logo_english"
{\rectangle_logo_english}
{gui_start_page_french}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_french"
S[1]: rectangles
[0] = "logo_french"
{\gui_start_page_french}
{rectangle_logo_french}
F: x = 215.0
F: y = 44.0
F: width = 224.0
F: height = 323.0
F: alpha = 1.0
S: texture = "logo_french"
{\rectangle_logo_french}
{gui_start_page_german}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_german"
S[1]: rectangles
[0] = "logo_german"
{\gui_start_page_german}
{rectangle_logo_german}
F: x = 218.0
F: y = 46.0
F: width = 219.0
F: height = 287.0
F: alpha = 1.0
S: texture = "logo_german"
{\rectangle_logo_german}
{gui_start_page_italian}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_italian"
S[1]: rectangles
[0] = "logo_italian"
{\gui_start_page_italian}
{rectangle_logo_italian}
F: x = 176.0
F: y = 46.0
F: width = 301.0
F: height = 287.0
F: alpha = 1.0
S: texture = "logo_italian"
{\rectangle_logo_italian}
{gui_start_page_spanish}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_spanish"
S[1]: rectangles
[0] = "logo_spanish"
{\gui_start_page_spanish}
{rectangle_logo_spanish}
F: x = 176.0
F: y = 46.0
F: width = 301.0
F: height = 287.0
F: alpha = 1.0
S: texture = "logo_spanish"
{\rectangle_logo_spanish}
{gui_start_page_russian}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logo_russian"
S[1]: rectangles
[0] = "logo_russian"
{\gui_start_page_russian}
{rectangle_logo_russian}
F: x = 176.0
F: y = 46.0
F: width = 301.0
F: height = 287.0
F: alpha = 1.0
S: texture = "logo_russian"
{\rectangle_logo_russian}
{gui_start_page}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "logotype"
S[1]: rectangles
[0] = "logo"
{\gui_start_page}
{rectangle_logo}
F: x = 172.0
F: y = 46.0
F: width = 309.0
F: height = 290.0
F: alpha = 0.7
S: texture = "logotype"
{\rectangle_logo}
{gui_dragon}
S: texture_path = "data/global/ui/"
S[1]: textures
[0] = "dragon"
S[1]: rectangles
[0] = "dragon"
{\gui_dragon}
{rectangle_dragon}
F: x = 233.0
F: y = 46.0
//B: centre = TRUE
F: width = 190.0
F: height = 290.0
F: alpha = 0.3
S: texture = "dragon"
{\rectangle_dragon}
{gui_faded_background_rectangle}
S: texture_path = "data/global/ui/"
S[1]: rectangles
[0] = "faded_background"
{\gui_faded_background_rectangle}
{rectangle_faded_background}
F: x = 320.0
F: y = 256.0
B: centre = TRUE
I[4]: colour
[0] = 0
[1] = 0
[2] = 0
[3] = 200
F: width = 568.0
F: height = 454.4
{\rectangle_faded_background}